package de.latzko.pattern.collections

class GenCell[T](init:T) {
	var value:T = init
	
	override def toString:String = "value is " + value;
	
	def swap[T](x: GenCell[T],y:GenCell[T]): Unit = {
		val t = x.value
		x.value = y.value
		y.value = x.value
	}
}
